package com.robotserver.orders.service;

import com.doudian.open.api.buyin_doukeOrderAds.data.OrdersItem;
import com.robotserver.orders.entity.DyTokens;
import com.robotserver.orders.vo.DyOrderTimeVO;

import java.util.List;

/**
 * @Auther: lucher
 * @Date: 2020/12/2 14:05
 * @Description:
 */
public interface DyOrderSyncService {
    void syncOpenUnitOrder(List<DyOrderTimeVO> dyOrderTimeVOS, DyTokens token, Integer downType);
    void syncTimeUnitOrder(DyOrderTimeVO time, DyTokens token, String cursor, Integer downType);
    void ordersAdd(List<OrdersItem> orderInfoList, DyTokens dyTokens);
    //消费者-处理抖音订单线程
    void threadSyncOrder_consumer(List<DyOrderTimeVO> dyOrderTimeVOS, DyTokens token, Integer downType);
}
